package com.example.minemodule.entity;

import java.util.List;

public class StandardOrderEntity {


    /**
     * status : 200
     * data : {"list":[{"type":"charge","orderId":"46ed0b6966f14fac85ec1798cc1813b9","orderNo":"E2021042115042551135","amount":0.01,"status":{"key":"consulting","desc":"问诊中"},"close":false,"closeReason":null,"posttime":1618991606000,"address":null,"doctorId":117275227127809,"doctorName":"韩红伟","avatar":"https://imageserver.yilijk.com/crmProc/20201029/14545446087772.jpeg","hospitalId":104342214482337,"hospitalName":"复旦大学附属中山医院","departmentId":13,"departmentName":"心血管内科","gender":{"key":"M","desc":"男"},"jobTitle":{"key":"6","desc":"主任医师"},"charge":{"chargeId":6021,"status":{"key":2,"desc":"咨询中"},"visitTime":1618991646000},"scheduleTimeId":0,"appointment":null}],"nextPage":true,"totalCount":8,"pageCount":8,"pageSize":1}
     */

    private String status;
    /**
     * list : [{"type":"charge","orderId":"46ed0b6966f14fac85ec1798cc1813b9","orderNo":"E2021042115042551135","amount":0.01,"status":{"key":"consulting","desc":"问诊中"},"close":false,"closeReason":null,"posttime":1618991606000,"address":null,"doctorId":117275227127809,"doctorName":"韩红伟","avatar":"https://imageserver.yilijk.com/crmProc/20201029/14545446087772.jpeg","hospitalId":104342214482337,"hospitalName":"复旦大学附属中山医院","departmentId":13,"departmentName":"心血管内科","gender":{"key":"M","desc":"男"},"jobTitle":{"key":"6","desc":"主任医师"},"charge":{"chargeId":6021,"status":{"key":2,"desc":"咨询中"},"visitTime":1618991646000},"scheduleTimeId":0,"appointment":null}]
     * nextPage : true
     * totalCount : 8
     * pageCount : 8
     * pageSize : 1
     */

    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private boolean nextPage;
        private int totalCount;
        private int pageCount;
        private int pageSize;
        /**
         * type : charge
         * orderId : 46ed0b6966f14fac85ec1798cc1813b9
         * orderNo : E2021042115042551135
         * amount : 0.01
         * status : {"key":"consulting","desc":"问诊中"}
         * close : false
         * closeReason : null
         * posttime : 1618991606000
         * address : null
         * doctorId : 117275227127809
         * doctorName : 韩红伟
         * avatar : https://imageserver.yilijk.com/crmProc/20201029/14545446087772.jpeg
         * hospitalId : 104342214482337
         * hospitalName : 复旦大学附属中山医院
         * departmentId : 13
         * departmentName : 心血管内科
         * gender : {"key":"M","desc":"男"}
         * jobTitle : {"key":"6","desc":"主任医师"}
         * charge : {"chargeId":6021,"status":{"key":2,"desc":"咨询中"},"visitTime":1618991646000}
         * scheduleTimeId : 0
         * appointment : null
         */

        private List<ListBean> list;

        public boolean isNextPage() {
            return nextPage;
        }

        public void setNextPage(boolean nextPage) {
            this.nextPage = nextPage;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageCount() {
            return pageCount;
        }

        public void setPageCount(int pageCount) {
            this.pageCount = pageCount;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            private String type;
            private String orderId;
            private String orderNo;
            private double amount;
            /**
             * key : consulting
             * desc : 问诊中
             */

            private StatusBean status;
            private boolean close;
            private Object closeReason;
            private long posttime;
            private Object address;
            private String doctorId;
            private String doctorName;
            private String avatar;
            private long hospitalId;
            private String hospitalName;
            private int departmentId;
            private String departmentName;
            /**
             * key : M
             * desc : 男
             */

            private GenderBean gender;
            /**
             * key : 6
             * desc : 主任医师
             */

            private JobTitleBean jobTitle;
            /**
             * chargeId : 6021
             * status : {"key":2,"desc":"咨询中"}
             * visitTime : 1618991646000
             */

            private ChargeBean charge;
            private int scheduleTimeId;
            private Object appointment;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public double getAmount() {
                return amount;
            }

            public void setAmount(double amount) {
                this.amount = amount;
            }

            public StatusBean getStatus() {
                return status;
            }

            public void setStatus(StatusBean status) {
                this.status = status;
            }

            public boolean isClose() {
                return close;
            }

            public void setClose(boolean close) {
                this.close = close;
            }

            public Object getCloseReason() {
                return closeReason;
            }

            public void setCloseReason(Object closeReason) {
                this.closeReason = closeReason;
            }

            public long getPosttime() {
                return posttime;
            }

            public void setPosttime(long posttime) {
                this.posttime = posttime;
            }

            public Object getAddress() {
                return address;
            }

            public void setAddress(Object address) {
                this.address = address;
            }

            public String getDoctorId() {
                return doctorId;
            }

            public void setDoctorId(String doctorId) {
                this.doctorId = doctorId;
            }

            public String getDoctorName() {
                return doctorName;
            }

            public void setDoctorName(String doctorName) {
                this.doctorName = doctorName;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public long getHospitalId() {
                return hospitalId;
            }

            public void setHospitalId(long hospitalId) {
                this.hospitalId = hospitalId;
            }

            public String getHospitalName() {
                return hospitalName;
            }

            public void setHospitalName(String hospitalName) {
                this.hospitalName = hospitalName;
            }

            public int getDepartmentId() {
                return departmentId;
            }

            public void setDepartmentId(int departmentId) {
                this.departmentId = departmentId;
            }

            public String getDepartmentName() {
                return departmentName;
            }

            public void setDepartmentName(String departmentName) {
                this.departmentName = departmentName;
            }

            public GenderBean getGender() {
                return gender;
            }

            public void setGender(GenderBean gender) {
                this.gender = gender;
            }

            public JobTitleBean getJobTitle() {
                return jobTitle;
            }

            public void setJobTitle(JobTitleBean jobTitle) {
                this.jobTitle = jobTitle;
            }

            public ChargeBean getCharge() {
                return charge;
            }

            public void setCharge(ChargeBean charge) {
                this.charge = charge;
            }

            public int getScheduleTimeId() {
                return scheduleTimeId;
            }

            public void setScheduleTimeId(int scheduleTimeId) {
                this.scheduleTimeId = scheduleTimeId;
            }

            public Object getAppointment() {
                return appointment;
            }

            public void setAppointment(Object appointment) {
                this.appointment = appointment;
            }

            public static class StatusBean {
                private String key;
                private String desc;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }
            }

            public static class GenderBean {
                private String key;
                private String desc;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }
            }

            public static class JobTitleBean {
                private String key;
                private String desc;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }
            }

            public static class ChargeBean {
                private int chargeId;
                /**
                 * key : 2
                 * desc : 咨询中
                 */

                private StatusBean status;
                private long visitTime;

                public int getChargeId() {
                    return chargeId;
                }

                public void setChargeId(int chargeId) {
                    this.chargeId = chargeId;
                }

                public StatusBean getStatus() {
                    return status;
                }

                public void setStatus(StatusBean status) {
                    this.status = status;
                }

                public long getVisitTime() {
                    return visitTime;
                }

                public void setVisitTime(long visitTime) {
                    this.visitTime = visitTime;
                }

                public static class StatusBean {
                    private int key;
                    private String desc;

                    public int getKey() {
                        return key;
                    }

                    public void setKey(int key) {
                        this.key = key;
                    }

                    public String getDesc() {
                        return desc;
                    }

                    public void setDesc(String desc) {
                        this.desc = desc;
                    }
                }
            }
        }
    }
}
